
#ifndef     __LV_USER_SQSTACK_H__
#define     __LV_USER_SQSTACK_H__

//元素最多为SQ_STACK_MAXSIZE-1个,栈顶要占一个
#define     SQ_STACK_MAXSIZE     7

typedef struct 
{
    uint8_t Data[SQ_STACK_MAXSIZE];
    uint8_t topidx;
}SeqStack;

void lv_user_sqstatck_init(SeqStack *SS);
uint8_t lv_user_sqstatck_push(SeqStack *SS,uint8_t elem);
uint8_t lv_user_sqstatck_pop(SeqStack *SS,uint8_t *elem);

#endif
